$(document).ready(
	function initPredictionChart() {
		var line1 = [ 
		        [ '2013-09-30 8:00AM', -4000.0 ],
				[ '2013-10-30 8:00AM', -2060.5 ],
				[ '2013-11-30 8:00AM', 1230.0 ],
				[ '2013-12-30 8:00AM', -300.0 ],
				[ '2014-01-30 8:00AM', 8200.0 ],
				[ '2014-02-28 8:00AM', 4200.0 ],
				[ '2014-03-20 8:00AM', 18200.0 ]];

		
		$.jqplot('predictionVisualization', [ line1 ], {
			gridPadding : {
				right : 35
			},
			axes : {
				xaxis : {
					renderer : $.jqplot.DateAxisRenderer,
					tickOptions : {
						formatString : '%b %#d, %y'
					},
					min : 'May 30, 2013',
					tickInterval : '1 month'
				}
			},
			series : [ {
				lineWidth : 4,
				markerOptions : {
					style : 'square'
				}
			} ]
		});
		var $predictionVisualizationTriggers = $("#predictionVisualization, .predictionVisualisationTrigger");
		$predictionVisualizationTriggers.click(function(){
			$("#predictionVisualization").toggle(1000);
		});
		$("#predictionVisualization").hide();
	});
